The Insert(String,Byte[],CacheItemPriority,String) Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.
- Id
- A System.String that identifies the item to be stored.
- data
- The an array of System.Byte to be inserted as the item information.
- priority
- The precedence of the stored item relative to other items stored, check the System.Web.Caching.CacheItemPriority enumeration.
- dependency
- A path to a file that is related to the inserted item, when this item is deleted this dependency file will also be deleted.
| Visual Basic (Declaration) | |
|---|---|
Overloads Sub Insert( _ ByVal Id As String, _ ByVal data() As Byte, _ ByVal priority As CacheItemPriority, _ ByVal dependency As String _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As IStorageProvider Dim Id As String Dim data() As Byte Dim priority As CacheItemPriority Dim dependency As String instance.Insert(Id, data, priority, dependency) | |
| C# | |
|---|---|
void Insert( string Id, byte[] data, CacheItemPriority priority, string dependency ) | |
| C++/CLI | |
|---|---|
void Insert( String^ Id, array<byte>^ data, CacheItemPriority priority, String^ dependency ) | |
Parameters
- Id
- A System.String that identifies the item to be stored.
- data
- The an array of System.Byte to be inserted as the item information.
- priority
- The precedence of the stored item relative to other items stored, check the System.Web.Caching.CacheItemPriority enumeration.
- dependency
- A path to a file that is related to the inserted item, when this item is deleted this dependency file will also be deleted.
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Copy Code